<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" dir="ltr">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="robots" content="index, follow" />
<meta name="keywords" content="Bet, Bet24h" />
<meta name="description" content="Bet24h" />
<meta name="generator" content="Bet24h" />
<title>Bet24 - Administration</title>
<!--
	<link href="/joomla/administrator/templates/khepri/favicon.ico" rel="shortcut icon" type="image/x-icon" />
-->
<?php echo $this->headLink()->prependStylesheet($this->themeUrl('/css/general.css'))
				->appendStylesheet($this->themeUrl('/css/system.css'))
				->appendStylesheet($this->themeUrl('/css/login.css'))
				->appendStylesheet($this->themeUrl('/css/rounded.css'))
				->appendStylesheet($this->themeUrl('/css/general-update.css')) ?>
				
<?php echo $this->headScript()->prependFile($this->themeUrl('/js/layout.js'))
                  ->prependFile($this->themeUrl('/js/jquery.curtain-min.js'))
                  ->prependFile($this->themeUrl('/js/caobox.min.js'))
                  ->prependFile($this->themeUrl('/js/jquery-1.4.2.min.js')) ?>
<script language="javascript" type="text/javascript">
            function setFocus(){
                document.login.username.select();
                document.login.username.focus();
            }
        </script>
</head>
<body onload="javascript:setFocus()">
<div id="border-top" class="h_green">
  <div>
    <div> <span class="title">STOCK24</span> </div>
  </div>
</div>
<div id="content-box">
  <div class="padding">
    <div id="element-box" class="login">
      <div class="t">
        <div class="t">
          <div class="t"> </div>
        </div>
      </div>
      <div class="m">
        <h1>Bet24 Administration Login</h1>
        <dl id="system-message" style="display:none;">
          <dt class="error"> Error </dt>
          <dd class="error message fade">
            <ul>
              <li> Username and password do not match </li>
            </ul>
          </dd>
        </dl>
        <div id="section-box">
          <div class="t">
            <div class="t">
              <div class="t"> </div>
            </div>
          </div>
          <div class="m">
            <form action="index.php?c=common&m=admin_login" method="post" name="login" id="form-login" style="clear: both;">
              <p id="form-login-username">
                <label for="modlgn_username"> Username </label>
                <input name="username" id="modlgn_username" type="text" class="inputbox" size="15" />
              </p>
              <p id="form-login-password">
                <label for="modlgn_passwd"> Password </label>
                <input name="password" id="modlgn_passwd" type="password" class="inputbox" size="15" />
              </p>
              <p id="login-error-message">
              <p>
              <div class="button_holder">
                <div class="button1">
                  <div class="next"> <a onclick="login.submit();">Login</a> </div>
                </div>
              </div>
              <div class="clr"> </div>
              <input type="submit" style="border: 0; padding: 0; margin: 0; width: 0px; height: 0px;" value="Login" />
              <input type="hidden" name="c" value="common" />
              <input type="hidden" name="m" value="admin_login" />
            </form>
            <div class="clr"> </div>
          </div>
          <div class="b">
            <div class="b">
              <div class="b"> </div>
            </div>
          </div>
        </div>
        <p> Use a valid username and password to gain access to the Administrator Back-end. </p>
        <p> <a href="<{$base_url}>">Return to site Home Page</a> </p>
        <div id="lock"> </div>
        <div class="clr"> </div>
      </div>
      <div class="b">
        <div class="b">
          <div class="b"> </div>
        </div>
      </div>
    </div>
    <noscript>
    Warning! JavaScript must be enabled for proper operation of the Administrator back-end.
    </noscript>
    <div class="clr"> </div>
  </div>
</div>
<div id="border-bottom">
  <div>
    <div> </div>
  </div>
</div>
<div id="footer">
  <p class="copyright"> <a href="#">Bet24</a> </p>
</div>
</body>
</html>
<script language="JavaScript">
var login_result="<{$login_result}>";
if ("1" == login_result) {
	document.getElementById("system-message").style.display = "block";
}
</script>
